package ca.etsmtl.log730.projet2.documents;

import java.io.Serializable;



public class Document implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1356450788473317525L;
	private StringBuffer data = new StringBuffer("PETIT TEST UN \n DEUX \n trois");
	private String name = "";
	public Document() {
		
	}
	public Document(String nm) {
		setName(nm);
	}
	public StringBuffer getData() {
		return data;
	}

	public void clearData() {
		data = new StringBuffer();
	}
	private Access access = new Access();
	public Access getAccess() {
		return access;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
